#pragma once
#include "../BaseGameComponent.h"

class Terrain;
class ObjectManager;
class Skybox;

class Chunk : public BaseGameComponent
{
	Terrain* terrain = nullptr;

	ObjectManager* objectManager = nullptr;

public:
	Chunk(const char* filename);
	virtual ~Chunk(void);

	// implament abstract functions

	virtual void Update(float dt) override;

	virtual void Draw(void) override;

	/////////////////////<accessors/mutators>//////////////////////////////////////////

	ObjectManager* getObjectManager(void) const { return objectManager; }

	Terrain* getTerrain(void) const { return terrain; }
};